﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AllItemView.aspx.cs" Inherits="MaluJg.web.ProjectFund.AllItemView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>项目表项</title>
    <link href="../Style/css/project.css" rel="stylesheet" type="text/css" />

    <script>
        function openFrame(page,  projectID) {
            document.frames["Main"].location.href = page + "?ProjectID=" + projectID + "&NoCache=" + Math.random();
        }

        function save() {
            document.frames["Main"].document.getElementById("btnSave").click();
        }

        var currentSelectTab = null;
        function btnTab_onMouseOver(obj, loc) {
            if (obj.className.indexOf("Down") == -1) {
                if (loc == 'left') {
                    obj.className = "buttonLeftOver";
                }
                else if (loc == 'right') {
                    obj.className = "buttonRightOver";
                }
                else {
                    obj.className = "buttonMiddleOver";
                }
            }
        }
        function btnTab_onMouseOut(obj, loc) {
            if (obj.className.indexOf("Down") == -1) {
                if (loc == 'left') {
                    obj.className = "buttonLeft";
                }
                else if (loc == 'right') {
                    obj.className = "buttonRight";
                }
                else {
                    obj.className = "buttonMiddle";
                }
            }
        }

        function changeTab(obj) {
            var tabIds = ["tabButton_0", "tabButton_1", "tabButton_2", "tabButton_3", "tabButton_4", "tabButton_5", "tabButton_6"];
            el = document.all;
            if (currentSelectTab != obj) {
                currentSelectTab = obj;
                var objs = document.getElementsByName("btnTab"); //trBtnTabs;

                for (var i = 0; i < tabIds.length; i++) {
                    var id = tabIds[i];
                    o = document.getElementById(id);
                    o.className = 'norright';
                }
                obj.className = "cur";
            }
        }
    </script>

</head>
<body scroll="auto">
    <form id="form1" runat="server">
    <div>
        
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center" valign="top">
                    <div style="width: 100%; border-bottom: solid 1px #cccccc;">
                        <table cellpadding="0" cellspacing="0" style="height: 24px; margin-right: 5px;" align="right">
                            <tr id="trBtnTabs">
                                <td tabid="0" id="tabButton_0" name="btnTab" onclick="changeTab(this);openFrame('Item1v.aspx',  '<%=ProjectID %>')"
                                    class="cur" style="width: 100px; float: right;">
                                    立项
                                </td>
                                <td tabid="1" id="tabButton_1" name="btnTab" class="norright" onclick="changeTab(this);openFrame('Item2v.aspx', '<%=ProjectID %>')"
                                    style="width: 100px;">
                                    公开招标信息发布
                                </td>
                                <td tabid="2" id="tabButton_2" name="btnTab" onclick="changeTab(this);openFrame('Item3v.aspx', '<%=ProjectID %>')"
                                    class="norright" style="width: 140px;">
                                    公开报名确定投标单位
                                </td>
                                <td tabid="3" id="tabButton_3" name="btnTab" onclick="changeTab(this);openFrame('Item4v.aspx', '<%=ProjectID %>')"
                                    class="norright" style="width: 100px;">
                                    编制招标文件
                                </td>
                                <td tabid="4" id="tabButton_4" name="btnTab" onclick="changeTab(this);openFrame('Item5v.aspx',  '<%=ProjectID %>')"
                                    class="norright" style="width: 100px;">
                                    项目评委小组
                                </td>
                                <td tabid="5" id="tabButton_5" name="btnTab" onclick="changeTab(this);openFrame('Item6v.aspx', '<%=ProjectID %>')"
                                    class="norright" style="width: 100px;">
                                    开标评标定标
                                </td>
                                <td tabid="6" id="tabButton_6" name="btnTab" onclick="changeTab(this);openFrame('Item7v.aspx', '<%=ProjectID %>')"
                                    class="norright" style="width: 100px;">
                                    中标通知
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <iframe id="Main" name="Main" frameborder="0" width="100%" height="540"></iframe>
                </td>
            </tr>
        </table>
    </div>
    <script>
        openFrame('Item1v.aspx', '<%=ProjectID %>');
    </script>
    </form>
</body>
</html>
